package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName adjust
 */
@TableName(value ="adjust")
@Data
public class Adjust implements Serializable {
    /**
     * 预算变更ID
     */
    @TableId
    private String adjustId;



    /**
     * 转入期间
     */
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date changePeriod;

    /**
     * 转入部门
     */
    private String changeDept;

    /**
     * 转入科目
     */
    private String changeSubjects;

    /**
     * 转出期间
     */
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date outPeriod;

    /**
     * 转出部门
     */
    private String outDept;
    /**
     * 转出科目
     */

    private String outSubjects;

    /**
     * 变更金额
     */
    private Double tzje;

    /**
     * 变更声明
     */
    private String adjustStatement;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}